<!--Copyright (C) Kherty.  All rights reserved.-->
<UserControl
    x:Class="OpenLS.Spreadsheet.UI.SetDimensionControl"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:Internals="clr-namespace:OpenLS.Spreadsheet.UI.Internals"
    xmlns:Internals1="clr-namespace:OpenLS.UI.Internals;assembly=OpenLS.UI"
        
    Name="this"  
    >
  <StackPanel Background='{x:Static SystemColors.ControlLightBrush}'>
    <DockPanel >
      <TextBlock Text="{Binding Path=Title, ElementName=this}"  VerticalAlignment="Center" Margin ="5" DockPanel.Dock="Left"/>
      <TextBox  Loaded="TextBox_Loaded"  Name="TextBox" Margin ="5" HorizontalAlignment="Stretch" VerticalAlignment="Center" />
    </DockPanel>
    <StackPanel Orientation="Horizontal" >
      <Button IsDefault="True" Name="OK" Margin ="5"  MinWidth="60" Content="{x:Static Internals1:UIStringTable.OK}"></Button>
      <Button IsCancel="True" Name="Cancel" Margin ="5" MinWidth="60" Content="{x:Static Internals1:UIStringTable.Cancel}"></Button>
    </StackPanel>
  </StackPanel>
</UserControl>
